import { generateService } from '@umijs/openapi'

/**
 * https://www.npmjs.com/package/@umijs/openapi
 * 根据后端的接口文档生成请求代码。
 */
generateService({
  requestLibPath: "import request from '@/request'",
  schemaPath: 'http://localhost:8123/api/v2/api-docs',
  serversPath: './src',
})
